package com.quad.innovators.salesease.model.query.stock;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.quad.innovators.salesease.common.base.BasePageQuery;

import java.time.LocalDate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : shanshan.li
 * @createTime : 2025/3/28 21:46
 * @Version : 1.0 
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "产品身份信息查询对象")
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class ProductInfoIdentityPageGroupQuery extends BasePageQuery {

    @Schema(description = "产品生产开始时间")
    private LocalDate productStartTime;

    @Schema(description = "产品生产结束时间")
    private LocalDate productEndTime;

    @Schema(description = "实际产品位置")
    private String actualLocationCode;

    @Schema(description = "产品实际状态 1:在仓库 2:在门店 3:已销售")
    private Integer actualStatus;

    @Schema(description = "聚合类型 1:位置 2:产品名称 3:产品日期 4:位置和产品名称 5:位置和产品日期 6:产品名称和产品日期 7:位置, 产品名称和产品日期")
    private Integer groupType;
}
